﻿using System;
namespace OnlineManagement.Model
{
	/// <summary>
	/// PigPen:实体类(属性说明自动提取数据库字段的描述信息)
    /// 猪舍表
	/// </summary>
	[Serializable]
	public partial class PigPen
	{
		public PigPen()
		{}
		#region Model
		private Guid _pigpenid;
		private int _hoggeryid;
		private string _customizeid;
		private int? _maxcapacity;
		private int? _currentpigcount;
		private string _currentpigtype;
		private string _currentpigbit;
		private string _pigpendescription;
		/// <summary>
		/// 
		/// </summary>
		public Guid PigPenID
		{
			set{ _pigpenid=value;}
			get{return _pigpenid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int HoggeryID
		{
			set{ _hoggeryid=value;}
			get{return _hoggeryid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CustomizeID
		{
			set{ _customizeid=value;}
			get{return _customizeid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? MaxCapacity
		{
			set{ _maxcapacity=value;}
			get{return _maxcapacity;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? CurrentPigCount
		{
			set{ _currentpigcount=value;}
			get{return _currentpigcount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CurrentPigType
		{
			set{ _currentpigtype=value;}
			get{return _currentpigtype;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CurrentPigBit
		{
			set{ _currentpigbit=value;}
			get{return _currentpigbit;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string PigPenDescription
		{
			set{ _pigpendescription=value;}
			get{return _pigpendescription;}
		}

        /// <summary>
        /// 饲养员编号
        /// </summary>
        public int FeederID { get; set; }

        public string FeederName { get; set; }
        /// <summary>
        /// 更新时间,默认为当前时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        
		#endregion Model

	}
}

